Support <optgroup> tags in <select> forms.
authorKenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
Sun, 1 Dec 2013 13:21:53 +0000 (14:21 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 1 Dec 2013 13:21:53 +0000 (14:21 +0100)
commitb1bcf806d1dca1ae9e33ab54cc387038a3b05d43
treeed8864fd6364d72a8dadb3bd87cd57817728544a
parent019988bb18e022179a332cdc1f5c2224ede3e8fd
Support <optgroup> tags in <select> forms.
* net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
forms.

Test case:

<html>
<head><title>SELECT TEST</title></head>
<body>

<form method="POST" action="./dummy.php">
<input type="text" name="text1">
<input type="submit" name="btn1" value="val1">

<select>
<optgroup label="group 1">
<option value="a">Value A</option>
<option value="b">Value B</option>
</optgroup>
<optgroup label="group 2">
<option value="c">Value C</option>
<option value="d">Value D</option>
</optgroup>
</select>

</form>
</body>
</html>
lisp/ChangeLog
lisp/net/eww.el